package com.qiaofang.collectmanage.dao;
import com.qiaofang.collectmanage.dao.domain.CrawlerSubTask;
import java.util.List;
import org.apache.ibatis.session.RowBounds;
import com.qiaofang.collectmanage.stub.bean.SearchCrawlerSubTaskDTO;
import com.qiaofang.common.model.page.PageDTO;

/**
* Created by generator on 2018-8-1 14:39:02
*/
public interface CrawlerSubTaskDao {
     public CrawlerSubTask  getCrawlerSubTaskByUuid(String uuid);
     public CrawlerSubTask  getCrawlerSubTaskByCrawlerSubTask(CrawlerSubTask subTask);

     public int saveCrawlerSubTask(CrawlerSubTask subTask);

     public int updateCrawlerSubTask(CrawlerSubTask subTask);
     public int removeCrawlerSubTaskByUuid(String uuid);
     public List<CrawlerSubTask> listCrawlerSubTask(CrawlerSubTask subTask);


     public List<CrawlerSubTask> listCrawlerSubTaskByUuids(List<String> uuidList);

     public Long countCrawlerSubTask(CrawlerSubTask subTask);

     public List<CrawlerSubTask> searchCrawlerSubTaskBySimpleAttr(CrawlerSubTask subTask, RowBounds rb);

     public List<CrawlerSubTask> searchCrawlerSubTaskByPermission(SearchCrawlerSubTaskDTO dto, PageDTO page);

     public Long countCrawlerSubTaskByPermission(SearchCrawlerSubTaskDTO dto);

}
